<%= form_for @merchant_product_category, :url =>  "/merchant_product_categories/create" do |f| %>
  <% if @merchant_product_category.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@merchant_product_category.errors.count, "error") %> prohibited this merchant_product_category from being saved:</h2>

      <ul>
      <% @merchant_product_category.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :category_name %><br />
    <%= f.text_field :category_name %>
  </div>
  <div class="field">
    <%= f.label :category_description %><br />
    <%= f.text_area :category_description %>
  </div>
  <div class="field">
    <%= f.label :active %><br />
    <%= f.check_box :active %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>
